package com.dg.dgrmi.net;

import org.xsocket.connection.INonBlockingConnection;

/**
 * This listener can be used to monitor a Server.
 * (ie. know when it receives new connections or
 *  close it)
 *
 * @date   07/10/2006
 * @author lipe
 *
 * @see    net.sf.lipermi.net.Server
 */
public interface IDGRMIServerListener {

    void clientConnected(INonBlockingConnection socket);

    void clientDisconnected(INonBlockingConnection socket);

}
